<?php require_once('Connections/elevate954.php'); ?>
<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>
<?php require_once("webassist/file_manipulation/helperphp.php"); ?>
<?php require_once("webassist/database_management/wa_appbuilder_php.php"); ?>
<?php 
if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))  {
  $WAFV_Redirect = "TESTIMONIALSADD.php";
  $_SESSION['WAVT_TESTIMONIALSADD_672_Errors'] = "";
  if ($WAFV_Redirect == "")  {
    $WAFV_Redirect = $_SERVER["PHP_SELF"];
  }
  $WAFV_Errors = "";
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["CUSTOMER_NAME"]))?$_POST["CUSTOMER_NAME"]:"") . "",false,1);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["PHONE"]))?$_POST["PHONE"]:"") . "",false,2);
  $WAFV_Errors .= WAValidateEM(((isset($_POST["EMAIL"]))?$_POST["EMAIL"]:"") . "",true,3);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["CONTENT"]))?$_POST["CONTENT"]:"") . "",false,4);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["Security_Code_1"]))?$_POST["Security_Code_1"]:"") . "",false,5);

  if ($WAFV_Errors != "")  {
    PostResult($WAFV_Redirect,$WAFV_Errors,"TESTIMONIALSADD_672");
  }
}
?>
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
	'UploadFolder' => "image_uploads/",
	'FileName' => "[FileName]",
	'DefaultFileName' => "no_image_found_250px.png",
	'ResizeType' => "2",
	'ResizeWidth' => "250",
	'ResizeHeight' => "0",
	'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Insert"]) || isset($_POST["Insert_x"])){
	WA_DFP_UploadFiles("WA_UploadResult1", "IMAGE", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
}
?>
<?php require_once("webassist/email/mail_php.php"); ?>
<?php require_once("webassist/email/mailformatting_php.php"); ?>
<?php 
// WA DataAssist Insert
if (isset($_POST["Insert"]) || isset($_POST["Insert_x"])) // Trigger
{
  $WA_connection = $elevate954;
  $WA_table = "TESTIMONIALS";
  $WA_sessionName = "WADA_Insert_TESTIMONIALS";
  $WA_redirectURL = "testimonial_add_confirm.php";
  if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
  $WA_keepQueryString = false;
  $WA_fieldNamesStr = "id|TESTIMONIAL_STATUS|CUSTOMER_NAME|TITLE|PHONE|EMAIL|CONTENT|MEDIA_TYPE|IMAGE";
  $WA_fieldValuesStr = "".((isset($_POST["id"]))?$_POST["id"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["TESTIMONIAL_STATUS"]))?$_POST["TESTIMONIAL_STATUS"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["CUSTOMER_NAME"]))?$_POST["CUSTOMER_NAME"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["TITLE"]))?$_POST["TITLE"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["PHONE"]))?$_POST["PHONE"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["EMAIL"]))?$_POST["EMAIL"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["CONTENT"]))?$_POST["CONTENT"]:"")  ."" . $WA_AB_Split . "".((isset($_POST["MEDIA_TYPE"]))?$_POST["MEDIA_TYPE"]:"")  ."" . $WA_AB_Split . "".($WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"])  ."";
  $WA_columnTypesStr = "',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''";
  $WA_fieldNames = explode("|", $WA_fieldNamesStr);
  $WA_fieldValues = explode($WA_AB_Split, $WA_fieldValuesStr);
  $WA_columns = explode("|", $WA_columnTypesStr);
  $WA_connectionDB = $database_elevate954;
  mysql_select_db($WA_connectionDB, $WA_connection);
  @session_start();
  $insertParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
  $WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
  $MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
  $_SESSION[$WA_sessionName] = mysql_insert_id($WA_connection);
  if ($WA_redirectURL != "")  {
    $WA_redirectURL = str_replace("[Insert_ID]",$_SESSION[$WA_sessionName],$WA_redirectURL);
    if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
      $WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
    }
    header("Location: ".$WA_redirectURL);
  }
}
?>
<?php
if (($_SERVER["REQUEST_METHOD"] == "POST"))     {
  //WA Universal Email object="mail"
  @session_write_close();
  set_time_limit(0);
  $EmailRef = "waue_TESTIMONIALSADD_1";
  $BurstSize = 200;
  $BurstTime = 1;
  $WaitTime = 1;
  $GoToPage = "";
  $RecipArray = array();
  $StartBurst = time();
  $LoopCount = 0;
  $TotalEmails = 0;
  $RecipIndex = 0;
  // build up recipients array
  $CurIndex = sizeof($RecipArray);
  $RecipArray[$CurIndex] = array();
  $RecipArray[$CurIndex ][] = "info@elevate954.com";
  $TotalEmails += sizeof($RecipArray[$CurIndex]);
  $RealWait = ($WaitTime<0.25)?0.25:($WaitTime+0.1);
  $TimeTracker = Array();
  $TotalBursts = floor($TotalEmails/$BurstSize);
  $AfterBursts = $TotalEmails % $BurstSize;
  $TimeRemaining = ($TotalBursts * $BurstTime) + ($AfterBursts*$RealWait);
  if ($TimeRemaining < ($TotalEmails*$RealWait) )  {
    $TimeRemaining = $TotalEmails*$RealWait;
  }
  writeUEProgress($EmailRef,0,$TotalEmails,$TimeRemaining);
  while ($RecipIndex < sizeof($RecipArray))  {
    $EnteredValue = is_string($RecipArray[$RecipIndex][0]);
    $CurIndex = 0;
    while (($EnteredValue && $CurIndex < sizeof($RecipArray[$RecipIndex])) || (!$EnteredValue && $RecipArray[$RecipIndex][0])) {
      $starttime = microtime_float();
      if ($EnteredValue)  {
        $RecipientEmail = $RecipArray[$RecipIndex][$CurIndex];
      }  else  {
        $RecipientEmail = $RecipArray[$RecipIndex][0][$RecipArray[$RecipIndex][2]];
      }
      $EmailsRemaining = ($TotalEmails- $LoopCount);
      $BurstsRemaining = ceil(($EmailsRemaining-$AfterBursts)/$BurstSize);
      $IntoBurst = ($EmailsRemaining-$AfterBursts) % $BurstSize;
      if ($AfterBursts<$EmailsRemaining) $IntoBurst = 0;
      $TimeRemaining = ($BurstsRemaining * $BurstTime * 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$EmailsRemaining)*$RealWait) - (($AfterBursts>$EmailsRemaining)?0:($IntoBurst*$RealWait));
      if ($TimeRemaining < ($EmailsRemaining*$RealWait) )  {
        $TimeRemaining = $EmailsRemaining*$RealWait;
      }
      $CurIndex ++;
      $LoopCount ++;
      writeUEProgress($EmailRef,$LoopCount,$TotalEmails,round($TimeRemaining));
      wa_sleep($WaitTime);
      include("webassist/email/waue_TESTIMONIALSADD_1.php");
      $endtime = microtime_float();
      $TimeTracker[] =$endtime - $starttime;
      $RealWait = array_sum($TimeTracker)/sizeof($TimeTracker);
      if ($LoopCount % $BurstSize == 0 && $CurIndex < sizeof($RecipArray[$RecipIndex]))  {
        $TimePassed = (time() - $StartBurst);
        if ($TimePassed < ($BurstTime*60))  {
          $WaitBurst = ($BurstTime*60) -$TimePassed;
          wa_sleep($WaitBurst);
        }
        else  {
          $TimeRemaining = ($TotalEmails- $LoopCount)*$RealWait;
        }
        $StartBurst = time();
      }
      if (!$EnteredValue)  {
        $RecipArray[$RecipIndex][0] =  mysql_fetch_assoc($RecipArray[$RecipIndex][1]);
      }
    }
    $RecipIndex ++;
  }
  @session_start();
  $_SESSION[$EmailRef."_Status"] = $GLOBALS[$EmailRef."_Status"];
  $_SESSION[$EmailRef."_Index"] = $GLOBALS[$EmailRef."_Index"];
  $_SESSION[$EmailRef."_From"] = $GLOBALS[$EmailRef."_From"];
  $_SESSION[$EmailRef."_To"] = $GLOBALS[$EmailRef."_To"];
  $_SESSION[$EmailRef."_Subject"] = $GLOBALS[$EmailRef."_Subject"];
  $_SESSION[$EmailRef."_Body"] = $GLOBALS[$EmailRef."_Body"];
  $_SESSION[$EmailRef."_Header"] = $GLOBALS[$EmailRef."_Header"];
  $_SESSION[$EmailRef."_Log"] = $GLOBALS[$EmailRef."_Log"];
  if (function_exists("rel2abs")) $GoToPage = $GoToPage?rel2abs($GoToPage,dirname(__FILE__)):"";
  if ($GoToPage!="")     {
    header("Location: ".$GoToPage);
  }
}
?>
<?php
 include("Connections/elevate954.php");
 include("functions.php");
 require_once 'social-buffs/functions.php';
 ?>
<style>
.social-buffs .sb-icon { opacity:0.5; }
.social-buffs .sb-icon:hover { opacity:1; }
</style>
<link href="assets/buttons/social-buttons.css" type="text/css" rel="stylesheet">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>ELEVATE954 | Health &amp; Fitness</title>
<style type="text/css">@import url("http://fonts.googleapis.com/css?family=PT+Sans");</style>
<style type="text/css">@import url("http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz");</style>
<style type="text/css">@import url("http://fonts.googleapis.com/css?family=Vollkorn");</style>
<style type="text/css">@import url("css/reset.css");</style>
<style type="text/css">@import url("css/grid.css");</style>
<style type="text/css">@import url("css/styles.css");</style>
<style type="text/css">@import url("css/tabs.css");</style>

<!--Common jQuery-->
<script type="text/javascript" src="social-buffs/js/jquery.js"></script>
<!--<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>-->
<link rel="stylesheet" href="social-buffs/css/style.css" />

<script type="text/javascript" src="social-buffs/js/jtipsy.js"></script>
<script type="text/javascript" src="social-buffs/js/script.js"></script>

<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<!--Coda Slider-->
<style type="text/css">@import url("css/coda-slider-2.0.css");</style>
<!--CSS Switcher-->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<!--Flickr Feed-->
<script type="text/javascript" src="js/jflickrfeed.min.js"></script>
<script type="text/javascript" src="js/setup.js"></script>
<!--Parallax-->
<style type="text/css">@import url("layerslider/css/layerslider.css");</style>
<style type="text/css">@import url("css/parallax.css");</style>
<script src="layerslider/js/layerslider.kreaturamedia.jquery.js" type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$('#layerslider').layerSlider({
		    navPrevNext : true,
			navButtons : false,
    		navStartStop : false,
			animateFirstLayer : true,
			skinsPath : 'layerslider/skins/'
		});
	});		
</script>
<!--Toggle-->
<style type="text/css">@import url("css/toggle.css");</style>
<script type="text/javascript" src="js/expand.js"></script>
<!--Scroll Top-->
<script type="text/javascript" src="js/scroll.js"></script>
<!--Pretty Photo-->
<style type="text/css">@import url("css/prettyPhoto.css");</style>
<script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<!--Quicksand-->
<script type='text/javascript' language='Javascript' src='js/jquery.quicksand.js'></script>
<!--Nivo-->
<style type="text/css">@import url("css/nivo-slider.css");</style>
<script type='text/javascript' src='js/jquery.nivo.slider.js'></script>
<script type='text/javascript'>
$(window).load(function() {
    $('#slider').nivoSlider();
    });
</script>
<!--Background-->
<script type="text/javascript" src="js/jquery.fullbg.min.js"></script>
<!--New Menu-->
<style type="text/css">@import url("css/menu.css");</style>
<link href="memberships.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style>
.social-buffs .sb-icon { opacity:0.5; }
.social-buffs .sb-icon:hover { opacity:1; }
</style>
<link href="assets/buttons/social-buttons.css" type="text/css" rel="stylesheet">
<script src="webassist/progress_bar/jquery-blockui-formprocessing.js" type="text/javascript"></script>

<link href="webassist/forms/fd_basic_default.css" rel="stylesheet" type="text/css" />
<link href="webassist/forms/dataassist_button.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--<img src="images/backgrounds/image1.jpg" alt="" id="background" />-->
<div id="maincontent">

<!--Top Nav-->
<div class="bar">
	<div class="container_12">

		<div class="grid_6">
			<div class="mininav">
            	<ul>
            		<li><a href="index.php" class="fade">Home</a></li>            	
                	<li><a href="directions.php" class="fade">Direction</a></li>
                    <li><a href="contact.php" class="fade">Contact Us</a></li>
                    <li><a href="members/login.php" class="button dark small">Members Login</a></li>
            	</ul>
			</div>
		</div>
        
        <div class="grid_6 alignrightnopad">
        <!--Social Networks-->
        <div class="socialbar">
		<?php
$url = $_SERVER["SERVER_NAME"]. $_SERVER['REQUEST_URI'];
echo social_icons($url);
?>                          
        </div>
        <!--End Social Networks-->        
        </div>          
        
	</div>
</div>
<!--End Top Nav-->

<!--Start Box-->
<div class="box">
<a name="top" id="top"></a>

<!--Main Bar-->
<div class="container_12 navbar">
	<!--Logo-->
	<div class="grid_3_no_margin"><a href="index_home.html"><img src="White_Transparent.png" alt="" width="200" class="logo"/></a></div>
	<!--End Logo-->
	<!--Main Nav--> 
	<div class="grid_9_no_margin">

			<div id="menu">
				<ul>
                <li class="icon_drop"><a href="/">HOME</a></li>
               
                <?php
				$get_menu = "select * from menu_cat order by SORT_ORDER";
				$res_menu = mysql_query($get_menu) or die(mysql_error());
				while($row_menu = mysql_fetch_array($res_menu))
				{
					 $check_sub = "select * from submenu_cat where menu_id = ".$row_menu['menu_id']." order by SORT_ORDER";
					 $res_sub = mysql_query($check_sub);
					 $sub = mysql_num_rows($res_sub);
						if($sub > 0)
						{
							$class = "icon_drop";	
						}
						else
						{
							$class = "";	
						}
					
					// code for checking the redirection yes or no on main menu
					if($row_menu['REDIRECT_STATUS'] == "YES")
					{
					$href= $row_menu['REDIRECT_ADDRESS'];	
					}
					else
					{
					$href="pages.php?pages_id=".$row_menu['pages_id']."";	
					}
				 
				?>
                
					<li class="<?php echo $class;?>">
                    		<a href="<?php echo $href;?>"><?php echo ucwords($row_menu['NAME']);?></a>
                        
                      <?php
					  if($sub > 0)
						{
										
					  ?> 
                            
                    	 <ul>
                         <?php 
						 while($row_submenu = mysql_fetch_array($res_sub))
						 {
							// code for checking the redirection yes or no on sub menu
						if($row_submenu['REDIRECT_STATUS'] == "YES")
						{
						$sub_href = $row_submenu['WEB_REDIRECT'];	
						}
						else if($row_submenu['REDIRECT_STATUS'] == "NO")
						{
						$sub_href = "pages.php?pages_id=".$row_submenu['pages_id']."";	
						} 
							 
							 
						 ?>
                            <li><a href="<?php echo $sub_href;?>">
							<?php echo ucwords($row_submenu['SUB_MENU_NAME'])?></a></li>
						<?php } ?>	
                        </ul>
                        
                     <?php } ?>   
                    </li>                   
                 <?php } ?>    
				</ul>
			</div>  
	</div>
    <!--End Main Nav--> 
</div>
<!--End Main Bar-->
</div>
<!--End Box-->

<!--Start Box-->
<div class="box"><div class="clearsmall"></div>
    
<div class="headertext">ADD A TESTIMONIALS THAT OUTLINES YOUR SUCCESS WITH ELEVATE954</div><br />
<div id="Insert_Basic_Default_ProgressWrapper">
  <form enctype="multipart/form-data"  class="Basic_Default" id="Insert_Basic_Default" name="Insert_Basic_Default" method="post" action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>">
    <fieldset class="Basic_Default" id="Insert">
      <div class="lineGroup">
        <div class="errorGroup">
          <span>
            <input id="id" name="id" type="hidden" value="<?php echo((isset($_GET["invalid"])?ValidatedField("TESTIMONIALSADD","id"):"")); ?>" class="loginbox" tabindex="1" />
            </span>
          </div>
        </div> 
      <div class="lineGroup"> 
        <div class="errorGroup">
          <span>
            <input id="TESTIMONIAL_STATUS" name="TESTIMONIAL_STATUS" type="hidden" value="NO" class="loginbox" tabindex="2" />
            </span>
          </div>
        </div> 
        
        <p>FIELD MARKED WITH A * ARE REQUIRED </p>
        <table width="100%" border="0" cellpadding="5" cellspacing="5" class="lineGroup">
          <tr>
            <td>
            <td class="ADDTEST_HEADER_DETAIL">*YOUR NAME:<span class="errorGroup"><br />
            <input id="CUSTOMER_NAME" name="CUSTOMER_NAME" type="text" value="<?php echo(ValidatedField("TESTIMONIALSADD_672","CUSTOMER_NAME")) ?>" class="loginbox2" tabindex="4" />
            </span>
              <?php
if (ValidatedField('TESTIMONIALSADD_672','TESTIMONIALSADD_672'))  {
  if ((strpos((",".ValidatedField("TESTIMONIALSADD_672","TESTIMONIALSADD_672").","), "," . "1" . ",") !== false || "1" == ""))  {
    if (!(false))  {
?>
                <div class="redbox">
                  <h2>Oops..YOUR NAME FIELD IS EMPTY!</h2>
                </div>
                <?php //WAFV_Conditional TESTIMONIALSADD.php TESTIMONIALSADD_672(1:)
    }
  }
}?></td>
            <td class="ADDTEST_HEADER_DETAIL">TITLE:<span class="errorGroup"><br />
            <input id="TITLE" name="TITLE" type="text" value="<?php echo(ValidatedField("TESTIMONIALSADD_672","TITLE")) ?>" class="loginbox2" tabindex="4" />
            </span></td>
          </tr>
          <tr>
            <td>
            <td class="ADDTEST_HEADER_DETAIL">*PHONE:<span class="errorGroup"><br />
            <input id="PHONE" name="PHONE" type="text" value="<?php echo(ValidatedField("TESTIMONIALSADD_672","PHONE")) ?>" class="loginbox2" tabindex="4" />
            </span>
              <?php
if (ValidatedField('TESTIMONIALSADD_672','TESTIMONIALSADD_672'))  {
  if ((strpos((",".ValidatedField("TESTIMONIALSADD_672","TESTIMONIALSADD_672").","), "," . "2" . ",") !== false || "2" == ""))  {
    if (!(false))  {
?>
                <div class="redbox">
                  <h2>Oops..YOUR PHONE FIELD IS EMPTY!</h2>
                </div>
                <?php //WAFV_Conditional TESTIMONIALSADD.php TESTIMONIALSADD_672(2:)
    }
  }
}?></td>
            <td class="ADDTEST_HEADER_DETAIL"><span class="errorGroup">&nbsp;*</span>EMAIL:<span class="errorGroup">
            <br />
            <input id="EMAIL" name="EMAIL" type="text" value="<?php echo(ValidatedField("TESTIMONIALSADD_672","EMAIL")) ?>" class="loginbox2" tabindex="4" />
            </span>
              <?php
if (ValidatedField('TESTIMONIALSADD_672','TESTIMONIALSADD_672'))  {
  if ((strpos((",".ValidatedField("TESTIMONIALSADD_672","TESTIMONIALSADD_672").","), "," . "3" . ",") !== false || "3" == ""))  {
    if (!(false))  {
?>
                <div class="redbox">
                  <h2>Oops..YOUR EMAIL FIELD IS EMPTY!</h2>
                </div>
                <?php //WAFV_Conditional TESTIMONIALSADD.php TESTIMONIALSADD_672(3:)
    }
  }
}?></td>
          </tr>
          <tr>
            <td height="32">            
            <td colspan="2" class="DFDFSSDF"><p><strong>NOTE:</strong> YOUR EMAIL AND PHONE WILL NOT BE USED IN THE ONLINE TESTIMONIAL AREA.</p></td>
          </tr>
        </table>
        <div class="lineGroup">
          <h1 class="ADDTEST_HEADER_DETAIL">* YOUR TESTIMONIAL:</h1>
          <?php
if (ValidatedField('TESTIMONIALSADD_672','TESTIMONIALSADD_672'))  {
  if ((strpos((",".ValidatedField("TESTIMONIALSADD_672","TESTIMONIALSADD_672").","), "," . "4" . ",") !== false || "4" == ""))  {
    if (!(false))  {
?>
            <div class="redbox">
              <h2>Oops..YOUR TESTIMONIAL FIELD IS EMPTY!</h2>
            </div>
            <?php //WAFV_Conditional TESTIMONIALSADD.php TESTIMONIALSADD_672(4:)
    }
  }
}?>
          <div class="errorGroup">
          <span>
            <textarea name="CONTENT" id="CONTENT" class="formTextarea_Medium" rows="8" cols="80" tabindex="5"><?php echo(ValidatedField("TESTIMONIALSADD_672","CONTENT")) ?></textarea>
            </span>
          <br />
        </div>
      </div> <br />

      <div class="lineGroup"> 
        <div class="errorGroup">
          <span>
            <input id="MEDIA_TYPE" name="MEDIA_TYPE" type="hidden" value="image" class="formTextfield_Medium" tabindex="6" />
            </span>
          </div>
        </div> 
      <div class="lineGroup"> <h1 class="ADDTEST_HEADER_DETAIL">IMAGE UPLOAD:</h1>
        <div class="errorGroup">
          <span>
            <input name="IMAGE" class="button regular action" type="file" id="IMAGE" size="30" tabindex="7" />
            </span>
          </div>
        </div> <br />
        
<img id="capt1" src="webassist/captcha/wavt_captchasecurityimages.php?width=250&height=35&field=Security_Code_1&bgcolor=FFFFFF&transparent=0&bgimage=&gridfreq=20&gridcolor=000000&gridorder=behind&noisefreq=15&noisecolor=000000&noiseorder=behind&characters=5&charheight=&font=fonts/MACTYPE.TTF&textcolor=029A0E" alt="security code" width="250" height="35" /><img src="webassist/captcha/images/refresh.png" height="18" onClick="document.getElementById('capt1').src+='&ref=1'" /><br /><br />
<?php
if (ValidatedField('TESTIMONIALSADD_672','TESTIMONIALSADD_672'))  {
  if ((strpos((",".ValidatedField("TESTIMONIALSADD_672","TESTIMONIALSADD_672").","), "," . "5" . ",") !== false || "5" == ""))  {
    if (!(false))  {
?>
  <div class="redbox">
    <h2>Oops..YOUR SECURITY CODE IS INCORRECT OR EMPTY</h2>
  </div>
  <?php //WAFV_Conditional TESTIMONIALSADD.php TESTIMONIALSADD_672(5:)
    }
  }
}?>
<br />
<span class="ADDTEST_HEADER_DETAIL">* ENTER THE CODE ABOVE TO SUBMIT YOUR TESTIMONIAL</span><br />

<input id="Security_Code_1" class="loginbox2" name="Security_Code_1" type="text" value="<?php echo(ValidatedField("TESTIMONIALSADD_672","Security_Code_1")) ?>" /><br />


<span class="buttonFieldGroup" >
        <input type="submit" value="PROCESS YOUR REQUEST" class="button regular action" id="Insert" name="Insert" />
        </span>
      </fieldset>
</form></div><div id="Insert_Basic_Default_ProgressMessageWrapper" class="blockUIOverlay" style="display:none;">
  <script type="text/javascript">
WADFP_SetProgressToForm('Insert_Basic_Default', 'Insert_Basic_Default_ProgressMessageWrapper', WADFP_Theme_Options['BigSpin:Slate']);
</script>
  <div id="Insert_Basic_Default_ProgressMessage" >
    <p style="margin:10px; padding:5px;" ><img src="webassist/progress_bar/images/slate-largespin.gif" alt="" title="" style="vertical-align:middle;" />&nbsp;&nbsp;Please wait</p>
  </div>
</div>
<br />
</p>

<div class="container_12">
	<div class="grid_12 nomargin"></div>
</div>
</div>
<!--End Box-->

<!--Featured Projects-->
<div class="centerbar">
  <div class="clearnospacing"></div>
</div>
<!--End Featured Projects-->

<!--Page Callout Section-->
    	<div class="calloutcontainer">
  				<div class="text">ELEVATE954 - FITNESS FOR LIFE</div>
                <div class="sub color">ZERO DOWN - ONLY $19.99 A MONTH FOR 3 MONTHS</div>
                <p>*Limited time offer. now at Elevate954 when you signup and recomment one of your friends to join our fitness revolution get one month free with each signup... Valid now through 09-10-2012</p>
    	</div>
<!--End Page Callout Section--> 

<!--Footer-->
<div class="footer">
    <div class="footer_container">       
        
     			<div class="footer1">
        			<h4>COMPANY</h4>
       				<div class="clear"></div>           
					<p>Our mission at Elevate is to improve the quality of life for our clients. We provide professional athletic training to world class athletes and take that same approach and apply it to all of our clients at Elevate. Whether it is thru Weight-Loss, Performance Training, or just trying to maintain a healthy  lifestyle, our staff at Elevate is here to assist you achieve your goals. </p>                          
        		</div>      
     			<div class="footer2">
        			<h4>RECENT NEWS</h4>
       			  <div class="clear"></div>
            		<!--Flickr-->
					<ul>
                      <?php do { ?>
                        <div class="NEWS_BOTTOM_LINKS" id="NEWS_BOTTOM_LINKS"><li><a href="elevate_news.php"><?php echo $row_NEWS['ARTICLE_NAME']; ?></a></li></div><br />
                        <?php } while ($row_NEWS = mysql_fetch_assoc($NEWS)); ?>
                      <br />

            		<a href="elevate_news.php" target="_self" class="button highlight action" id="WERWERW">READ MORE</a>
   			      </ul>
                  
	  </div>                
     			<div class="footer3">
        			<h4>Elevate Training & Fitness INFO</h4>
       				<div class="clear"></div>            
        			<p class="highlight"><span class="phone"> 954.530.2328</span></p>
           	 		<p class="highlight"><span class="email bold"> <a href="mailto:info@elevate954.com">info@elevate954.com</a></span></p>
            		<p class="highlight"><span class="mail">3400 SW 26 Terrace
Bay a2<br />
Fort Lauderdale Florida 33312</span></p> 
         		</div>        
     			<div class="footer4">                
    				<h4>CONTACT US</h4>
        			<div class="clear"></div>           
					<!--Form--> 
        			<iframe src='contactfooter/contactform.php' frameborder='0'
					width='222' height='200' marginwidth="0" scrolling="no"></iframe>
       				<!--End Form-->
        		</div>
        
    <div class="clearnospacing"></div>
    </div>
</div>

<!--Copyright Section-->
<div class="bottombar">
    <div class="bottombar_container">
    
        <div class="copyright">&copy; ELEVATE954. All Rights Reserved. Design by <a href="#" class="bold">SOLIS COMPUTER CONSULTANTS</a></div>
        
        <div class="bottom_nav">
            <!--<div class="crumb_navigation">
            	<ul>
		    		<li><a href="index.html" class="fade">HOME</a></li>
		    		<li><a href="about.html" class="fade">ABOUT US</a></li>
		   			<li><a href="services.html" class="fade">GALLERIES</a></li>
                 	<li><a href="gallery1.html" class="fade">TRAINING</a></li>
                    <li><a href="blog.html" class="fade">MEMBERSHIP</a></li>
                    <li><a href="contact.html" class="fade">SCHEDULE</a></li>
                    <li><a href="contact.html" class="fade">ONLINE STORE</a></li>
                </ul>
			</div>
        </div>-->
        
        <p><a href="#top" id="top-link"></a></p> 
        
    </div>   
</div>
<!--END Copyright Section-->
<!--End Footer-->

</div>
<!--End Content-->

<script type="text/javascript" src="js/custom_filter.js"></script>

<!--Tool Tip-->
<script type="text/javascript">
var tip = $();
$(document).ready(function() {
    //Tooltips
    $(".tip_trigger").hover(function(){
        tip = $(this).find('.tip');
        tip.show(); //Show tooltip
    }, function() {
        tip.hide(); //Hide tooltip
    }).mousemove(function(e) {
        var mousex = e.pageX + 20; //Get X coodrinates
        var mousey = e.pageY + 20; //Get Y coordinates
        var tipWidth = tip.width(); //Find width of tooltip
        var tipHeight = tip.height(); //Find height of tooltip

        //Distance of element from the right edge of viewport
        var tipVisX = $(window).width() - (mousex + tipWidth);
        //Distance of element from the bottom of viewport
        var tipVisY = $(window).height() - (mousey + tipHeight);

        //Absolute position the tooltip according to mouse position
        tip.css({  top: mousey, left: mousex });
    });
});
</script>

<!--Tabs-->
<script type="text/javascript" src="js/tabs.js"></script>

<!--Toggle-->
<script type="text/javascript">
$(function() {
    $(".expand").toggler({initShow: "div.collapse:first", method: "slideFadeToggle"});
    // --- Other options:
    //$(".expand").toggler({method: "toggle", speed: 0});
    //$(".expand").toggler({method: "toggle"});
    //$(".expand").toggler({speed: "fast"});
    //$(".expand").toggler({method: "fadeToggle"});
    //$(".expand").toggler({method: "slideFadeToggle"});    
    $("#content").expandAll({trigger: ".expand", ref: "div.demo",  speed: 600, oneSwitch: false});
});
</script>

<!--Coda Slider-->
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.coda-slider-2.0.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('#coda-slider-1').codaSlider();
	});
</script>

<!--Background-->
<script type="text/javascript">
$(window).load(function() {
	$("#background").fullBg();
});
</script>

</body></html>
